/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.repository;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.shanhesoft.java.common.persistence.repository.TreeRepository;
import com.shanhesoft.java.modules.exam.domain.TQuestionBank;
import com.shanhesoft.java.modules.exam.domain.vo.TQuestionBankVo;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 题库管理Repository 题库管理
 * @author admin
 * @version 2020-09-17 11:57:21
 */
public interface TQuestionBankRepository extends TreeRepository<TQuestionBank> {
	/**
	 * 题库树数据集合
	 *
	 * @return
	 */
	List<TQuestionBankVo> findVoList(@Param(Constants.WRAPPER) QueryWrapper<TQuestionBank> wrapper);

}
